<!DOCTYPE html>
<html lang="en-us">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title> Hello World | An sample site</title>
    
    
    <link rel="stylesheet" href="../../../../../css/style.css" />
    <link rel="stylesheet" href="../../../../../css/fonts.css" />
    <link rel="stylesheet" href="../../../../../css/custom.css" />
    <link href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css" rel="stylesheet">

<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Hello World"/>
<meta name="twitter:description" content="R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.
You can embed an R code chunk like this:
summary(cars) ## speed dist ## Min. : 4.0 Min. : 2.00 ## 1st Qu.:12.0 1st Qu.: 26.00 ## Median :15.0 Median : 36.00 ## Mean :15.4 Mean : 42."/>


  </head>

  <body>

    <nav class="menu">
    <ul>
      <li class="left">
        <a href="../../../../../"><span>An sample site</span></a>
      </li>
      
      <li>
        <a href="../../../../../">Home</a>
      </li>
      
      <li>
        <a href="../../../../../about/">About</a>
      </li>
      
      <li>
        <a href="../../../../../sitemap/">Sitemap</a>
      </li>
      
      <li id="menu-search">
        <a href="../../../../../#">Search</a>
      </li>
      
      <li>
        <a href="../../../../../index.xml">Subscribe</a>
      </li>
      
    </ul>
    </nav>


<div class="container single">
<main>

<div class="article-meta">
<h1><span class="title">Hello World</span></h1>

<h3 class="author">
Frida Gomam
</h3>

<h3 class="date">2015-07-23</h3>
<p class="terms">
  
  
  Categories: <a href="../../../../../categories/r">R</a> 
  
  
  
  Tags: <a href="../../../../../tags/r-markdown">R Markdown</a> <a href="../../../../../tags/plot">plot</a> <a href="../../../../../tags/regression">regression</a> 
  
  
</p>
</div>

<div class="article">

<script src="../../../../../post/2015/07/23/hello-world/index_files/header-attrs/header-attrs.js"></script>
<link href="../../../../../post/2015/07/23/hello-world/index_files/anchor-sections/anchor-sections.css" rel="stylesheet" />
<script src="../../../../../post/2015/07/23/hello-world/index_files/anchor-sections/anchor-sections.js"></script>


<div id="r-markdown" class="section level1">
<h1>R Markdown</h1>
<p>This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <a href="http://rmarkdown.rstudio.com" class="uri">http://rmarkdown.rstudio.com</a>.</p>
<p>You can embed an R code chunk like this:</p>
<pre class="r"><code>summary(cars)
##      speed           dist       
##  Min.   : 4.0   Min.   :  2.00  
##  1st Qu.:12.0   1st Qu.: 26.00  
##  Median :15.0   Median : 36.00  
##  Mean   :15.4   Mean   : 42.98  
##  3rd Qu.:19.0   3rd Qu.: 56.00  
##  Max.   :25.0   Max.   :120.00
fit &lt;- lm(dist ~ speed, data = cars)
fit
## 
## Call:
## lm(formula = dist ~ speed, data = cars)
## 
## Coefficients:
## (Intercept)        speed  
##     -17.579        3.932</code></pre>
</div>
<div id="including-plots" class="section level1">
<h1>Including Plots</h1>
<p>You can also embed plots. See Figure <a href="#fig:pie">1</a> for example:</p>
<pre class="r"><code>par(mar = c(0, 1, 0, 1))
pie(
  c(280, 60, 20),
  c(&#39;Sky&#39;, &#39;Sunny side of pyramid&#39;, &#39;Shady side of pyramid&#39;),
  col = c(&#39;#0292D8&#39;, &#39;#F7EA39&#39;, &#39;#C4B632&#39;),
  init.angle = -50, border = NA
)</code></pre>
<div class="figure"><span id="fig:pie"></span>
<img src="../../../../../post/2015/07/23/hello-world/index_files/figure-html/pie-1.png" alt="A fancy pie chart." width="672" />
<p class="caption">
Figure 1: A fancy pie chart.
</p>
</div>
<pre class="r"><code>plot(1:10)</code></pre>
<p><img src="../../../../../post/2015/07/23/hello-world/index_files/figure-html/unnamed-chunk-1-1.png" width="672" /></p>
</div>

</div>
</main>

<section class="appendix">


<div>
  <div class="side side-left"><h3>Author's bio</h3></div>
  <div>






</div>
</div>






<div>
  <div class="side side-left"><h3>Reuse</h3></div>
  Text and figures are licensed under <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution CC BY 4.0</a>. The source code is licensed under MIT. The full source is available at <a href="https://github.com/yihui/hugo-prose">https://github.com/yihui/hugo-prose</a>.
</div>



<div>
  <div class="side side-left"><h3>Suggest changes</h3></div>
  
  
  
    
  
  If you find any mistakes (including typos) or want to suggest changes,
  please feel free to <a href="https://github.com/yihui/hugo-prose/edit/master/exampleSite/content/post/2015-07-23-r-rmarkdown/index.Rmd" id="edit-link">edit
  the source file of this page</a> on Github and create a pull request.
</div>




<div>
  <div class="side side-left"><h3>Citation</h3></div>
  <p>For attribution, please cite this work as</p>
  <pre><code class="no-highlight">Frida Gomam (2015). Hello World. An sample site. /post/2015/07/23/hello-world/</code></pre>
  <p>BibTeX citation</p>
  <pre><code class="no-highlight">@misc{
  title = "Hello World",
  author = "Frida Gomam",
  year = "2015",
  journal = "An sample site",
  note = "/post/2015/07/23/hello-world/"
}</code></pre>
</div>

</section>



<nav class="post-nav">
  <span class="nav-next">&larr; <a href="../../../../../post/2015/07/23/letter-1-on-saving-time/" title="Next post (older)">Letter 1: On Saving Time</a></span>
  &hercon;
  <span class="nav-prev"><a href="../../../../../post/2016/02/14/letter-2-on-discursiveness-in-reading/" title="Previous post (newer)">Letter 2: On Discursiveness in Reading</a> &rarr;</span>
</nav>





</div>


  <footer>
  <script async src="//yihui.org/js/center-img.js"></script>







<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/r.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/yaml.min.js"></script>
<script>
hljs.configure({languages: []});
hljs.initHighlightingOnLoad();
</script>


  <div class="footer">
  
  <ul class="copyright">
    <li>© <a href="https://en.wikipedia.org/wiki/Seneca_the_Younger">Lucius Annaeus Seneca</a> 4 BC &ndash; AD 65</li>
  </ul>
  
  <ul>
    
    <li>
      <a href="../../../../../404.html">Contact</a>
    </li>
    
    <li class="optional">
      <a href="../../../../../categories/">Categories</a>
    </li>
    
    <li class="optional">
      <a href="../../../../../tags/">Tags</a>
    </li>
    
    <li id="menu-edit">
      <a href="#">Suggest an edit</a>
    </li>
    
    <li>
      <a href="#">Back to top</a>
    </li>
    
  </ul>
  </div>
  
  </footer>
  <script async src="../../../../../js/features.js" data-page-features="[null,[&#34;&#43;sidenotes&#34;],null]"></script>
  </body>
</html>

